home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-07 | 413 b | 17 lines | [TEXT/DWat] |
- % Useage: setmaglimits lowermaglimit uppermaglimit
- %
- % Sets the point style based on the
- % magnitude limits passed as arguements
- %
- % This script assumes that the magnitudes of the stars are
- % stored in r0.
-
- set lowermaglimit &1
- set uppermaglimit &2
- rpn <r0 lowermaglimit ?>=
- rpn <r0 uppermaglimit ?<=
- rpn * <r0 >p
- % size of the crosses goes as the 1.5 power of the mag
- rpn 18 <p - 18 / 1.1 y^x 41 + -1 * >p
-
- close